|
|
 |
|
|
|
|
StartService, 400, 419 |
|
|
|
 |
|
|
|
|
statements |
|
|
|
 |
|
|
|
|
Alias, 340 |
|
|
|
 |
|
|
|
|
Debug, 268 |
|
|
|
 |
|
|
|
|
Declare, 9, 279282, 341 |
|
|
|
 |
|
|
|
|
#define, 349350, 373 |
|
|
|
 |
|
|
|
|
Enum, 218 |
|
|
|
 |
|
|
|
|
Err.Raise, 240 |
|
|
|
 |
|
|
|
|
typedef, 349 |
|
|
|
 |
|
|
|
|
Status, 413 |
|
|
|
 |
|
|
|
|
STDAPI, 121 |
|
|
|
 |
|
|
|
|
STDAPICALLTYPE, 121 |
|
|
|
 |
|
|
|
|
stdcall calling convention, 257, 324325, 328 |
|
|
|
 |
|
|
|
|
STR, 24, 102 |
|
|
|
 |
|
|
|
|
string buffers, 21, 159 |
|
|
|
 |
|
|
|
|
initializing, 9 |
|
|
|
 |
|
|
|
|
string parameters, 16, 167, 340343 |
|
|
|
 |
|
|
|
|
functions that take, 158, 172 |
|
|
|
 |
|
|
|
|
passing to API function, 244 |
|
|
|
 |
|
|
|
|
preinitializing, 9 |
|
|
|
 |
|
|
|
|
string type, 194 |
|
|
|
 |
|
|
|
|
string variables, 337 |
|
|
|
 |
|
|
|
|
StringFromCLSID, 121123, 245247, 249 |
|
|
|
 |
|
|
|
|
strings |
|
|
|
 |
|
|
|
|
BSTR, 337 |
|
|
|
 |
|
|
|
|
temporary, 244245 |
|
|
|
 |
|
|
|
|
C, 216, 339340, 346347 |
|
|
|
 |
|
|
|
|
conflicts involving types of, 110111, 234235 |
|
|
|
 |
|
|
|
|
conversions of, 176, 195196 |
|
|
|
 |
|
|
|
|
data types for, 191 |
|
|
|
 |
|
|
|
|
dynamic, 174, 259260, 264, 365369 |
|
|
|
 |
|
|
|
|
empty, 9, 153, 154, 428 |
|
|
|
 |
|
|
|
|
Environment, 176 |
|
|
|
 |
|
|
|
|
fixed length, 174, 365 |
|
|
|
 |
|
|
|
|
lengths of, 177178, 202, 338, 340 |
|
|
|
 |
|
|
|
|
variable, 393 |
|
|
|
 |
|
|
|
|
mistakes with, 174 |
|
|
|
 |
|
|
|
|
NULL-terminated ANSI, 224 |
|
|
|
 |
|
|
|
|
obtaining length of, 431 |
|
|
|
 |
|
|
|
|
offsets to, 429 |
|
|
|
 |
|
|
|
|
passing as parameters to API functions, 337, 342 |
|
|
|
 |
|
|
|
|
passing by reference, 122, 244 |
|
|
|
 |
|
|
|
|
passing to DLL functions, 340341 |
|
|
|
 |
|
|
|
|
passing VB using ByVal, 224225 |
|
|
|
 |
|
|
|
|
pointers to, 347 |
|
|
|
 |
|
|
|
|
preinitializing, 159 |
|
|
|
 |
|
|
|
|
removing backslashes from, 23 |
|
|
|
 |
|
|
|
|
removing NULL terminators from, 160161 |
|
|
|
 |
|
|
|
|
return type LPSTR or LPTSTR, 47 |
|
|
|
 |
|
|
|
|
separated by spaces, 137 |
|
|
|
 |
|
|
|
|
in structures, 363, 365369 |
|
|
|
 |
|
|
|
|
that specify multiple files, 136 |
|
|
|
 |
|
|
|
|
valid addresses of, 268 |
|
|
|
 |
|
|
|
|
Visual Basic, 136, 175 |
|
|
|
 |
|
|
|
|
Visual Basic storage of, 209 |
|
|
|
 |
|
|
|
|
wide, 102 |
|
|
|
 |
|
|
|
|
Win32 API, 136 |
|
|
|
 |
|
|
|
|
See also ANSI strings; string parameters; Unicode strings |
|
|
|
 |
|
|
|
|
StrPtr, 108, 214, 245, 343 |
|
|
|
 |
|
|
|
|
vs. VarPtr, 242, 339 |
|
|
|
 |
|
|
|
|
structures, 359369 |
|
|
|
 |
|
|
|
|
of 8 bytes or less, 259 |
|
|
|
 |
|
|
|
|
arrays of, 209212 |
|
|
|
 |
|
|
|
|
and classes, 348 |
|
|
|
 |
|
|
|
|
CLSID, 121 |
|
|
|
 |
|
|
|
|
DCB, 311314 |
|
|
|
 |
|
|
|
|
declaration errors, 194 |
|
|
|
 |
|
|
|
|
declaring multiple times, 237 |
|
|
|
 |
|
|
|
|
DEVMODE, 4146, 7577, 174, 203206 |
|
|
|
 |
|
|
|
|
and DLL calls, 362369 |
|
|
|
 |
|
|
|
|
ENUM_SERVICES_STATUS, 409411 |
|
|
|
 |
|
|
|
|
ENUM_SERVICE_STATUS, 399400, 401402, 413 |
|
|
|
 |
|
|
|
|
EVENTLOGRECORD, 426, 429432 |
|
|
|
 |
|
|
|
|
FILETIME, 54 |
|
|
|
 |
|
|
|
|
FREQ_INFO, 257 |
|
|
|
 |
|
|
|
|
hNameMappings, 268 |
|
|
|
 |
|
|
|
|
how C functions return, 255 |
|
|
|
 |
|
|
|
|
IMAGE_DATA_DIRECTORY, 384386, 389 |
|
|
|
 |
|
|
|
|
IMAGE_DOS_HEADER, 387 |
|
|
|
 |
|
|
|
|
IMAGE_EXPORT_DIRECTORY, 390394 |
|
|
|
 |
|
|
|
|
IMAGE_FILE_HEADER, 383386, 387 |
|
|
|
 |
|
|
|
|
IMAGE_NT_HEADERS, 383386, 387 |
|
|
|
 |
|
|
|
|
IMAGE_OPTIONAL_HEADER, 383386, 389 |
|
|
|
 |
|
|
|
|
IMAGE_SECTION_HEADER, 387388 |
|
|
|
 |
|
|
|
|
initializing size of, 173 |
|
|
|
 |
|
|
|
|
loading into byte array, 210 |
|
|
|
 |
|
|
|
|
LOGFONT, 365 |
|
|
|
 |
|
|
|
|
LOGFONTA, 365 |
|
|
|
 |
|
|
|
|
LOGFONTW, 365 |
|
|
|
 |
|
|
|
|
MappingInfo, 270271 |
|
|
|
 |
|
|
|
|
NameMapping, 267, 269, 270 |
|
|
|
 |
|
|
|
|
NETRESOURCE, 97, 98, 223 |
|
|
|
 |
|
|
|
|
OSVERSIONINFO, 35, 172173 |
|
|
|
 |
|
|
|
|
packing, 82, 207 |
|
|
|
 |
|
|
|
|
passing, 359, 360361 |
|
|
|
 |
|
|
|
|
POINT, 2829, 359361 |
|
|
|
 |
|
|
|
|
POINTAPI, 170 |
|
|
|
 |
|
|
|
|
portable executable header, 383 |
|
|
|
 |
|
|
|
|
RASCONNSTATE, 90 |
|
|
|
 |
|
|
|
|
RASDIALEXTENSIONS, 8890 |
|
|
|
 |
|
|
|
|
RASDIALPARAMS, 8386, 88, 213216 |
|
|
|
 |
|
|
|
|
RASENTRYNAME, 79, 80, 81, 207, 209n, 215 |
|
|
|
 |
|
|
|
|
RASIALPARAMS, 214, 215 |
|
|
|
 |
|
|
|
|
RECT, 125, 127, 144, 360 |
|
|
|
 |
|
|
|
|
SAFEARRAY, 124, 170171 |
|
|
|
 |
|
|
|
|
SERVICE_STATUS, 401402, 413, 423 |
|
|
|
 |
|
|
|
|
SHFILEOPSTRUCT, 133139, 140, 259263 |
|
|
|
 |
|
|
|
|
SHNAMEMAPPING, 136, 141, 267, 270 |
|
|
|
 |
|
|
|
|
SIZE, 361 |
|
|
|
 |
|
|
|
|
sizes of, 82, 203204 |
|
|
|
 |
|
|
|
|
strings in, 172, 365369 |
|
|
|
 |
|
|
|
|
SYSTEMTIME, 66 |
|
|
|
 |
|
|
|
|
temporary, 255, 260 |
|
|
|
|
|